package com.ybkj.chat.module.main.activity;

import com.ybkj.chat.R;
import com.ybkj.chat.base.BaseMvpActivity;
import com.ybkj.chat.ui.adapter.LikeListAdapter;
import com.ybkj.chat.ui.view.recyclerview.XRecyclerView;
import com.ybkj.chat.ui.view.refreshlayout.XRefreshLayout;

import butterknife.BindView;

/**
 * 推荐话题——点赞列表4.5.3
 */
public class LikeListActivity extends BaseMvpActivity {
    @BindView(R.id.xrc_likelist)
    XRecyclerView xrcLikelist;
    @BindView(R.id.xrf_likelist)
    XRefreshLayout xrfLikelist;

    private LikeListAdapter mLikeListAdapter;

    @Override
    protected void injectPresenter() {

    }

    @Override
    protected void initTitle() {
        setTitleText("点赞列表");
    }

    @Override
    protected int getLayoutId() {
        return R.layout.activity_likelist;
    }

    @Override
    protected void initView() {
        initrecycle();
    }

    private void initrecycle() {
        mLikeListAdapter = new LikeListAdapter(mContext);
        mLikeListAdapter.addData("1");
        mLikeListAdapter.addData("1");
        mLikeListAdapter.addData("1");
        mLikeListAdapter.addData("1");
        mLikeListAdapter.addData("1");
        xrcLikelist.setAdapter(mLikeListAdapter);
    }

    @Override
    protected void initData() {

    }

}
